package com.hangxingliu.flashalarm;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class MainRec extends BroadcastReceiver {

	@Override
	public void onReceive(Context c, Intent i) {
		Intent iAlarm =new Intent(c, AlarmAct.class);
		iAlarm.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
		c.startActivity(iAlarm);
	}

}
